package clearn;

/**
 * @AUTHOR LYF
 * @DATE 2022/3/28
 * @VERSION 1.0
 * @DESC
 */
public class Test1 {
    private static void test(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            try {
                if (arr[i] % 2 == 0) {
                    throw new NullPointerException();
                } else {
                    System.out.print(i);
                }
            } finally {
                System.out.print("e");
            }
        }
    }

    public static void main(String[]args) {
//        try {
//            test(new int[] {0, 1, 2, 3, 4, 5});
//        } catch (Exception e) {
//            System.out.print("E");
//        }

//        Integer a=1,b=1;
//        Integer c=129,d=129;
//        int e = 129;
//        System.out.println((a==b)+":"+(c==d)+":"+(c==e));//true:false:true


        System.out.println(Math.ceil(-1.2)+":"+Math.floor(-1.2)+":"+
                Math.round(-1.2)+":"+Math.round(-1.5)+":"+Math.round(-1.51));
       //-1.0:-2.0:-1:-1:-2

    }

}